package com.ship.dispatch.model.Vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ship.dispatch.bean.fob.SpFobFileRecord;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
public class SpBoatsActualCompatibleSaveVo implements Serializable {
    private Long id;
    @ApiModelProperty("船舶名称")
    private String shipName;

    @ApiModelProperty("船舶Imo")
    private String imo;

    @ApiModelProperty("港口名称")
    private String portName;

    @ApiModelProperty("船岸兼容时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date shipCompatibleDate;

    @ApiModelProperty("船岸是否兼容(1:是，2：否)")
    private String shipShoreCompatibility;

    @ApiModelProperty("附件信息集合")
    private List<SpFobFileRecord> files = new ArrayList<>();

    @ApiModelProperty(value = "备注")
    private String remark;
}
